<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <blockquote class="layui-elem-quote">注意：删除最新本后，最新本更新为上个版本</blockquote>
            <div class="layui-form">
                <table class="layui-table" id="table-list">
                    <thead>
                    <tr>
                        <td class="w50">
                            <input type="checkbox" name="apply_id[]" lay-skin="primary" lay-filter="allChoose">
                        </td>
                        <td class="w50">ID</td>
                        <td>应用类型</td>
                        <td>应用名称</td>
                        <td>更新版本</td>
                        <td>发布时间</td>
                        <td>操作</td>
                    </tr>
                    </thead>
                    <tbody>
                    {foreach name="list" item="val" key="key"}
                    <tr>
                        <td>
                            <input type="checkbox" name="apply_id[]" lay-skin="primary" data-id="{$val.apply_id}">
                        </td>
                        <td>{$val.apply_id}</td>
                        <td>
                            {eq name="val.apply_type" value="1"}Android{/eq}
                            {eq name="val.apply_type" value="2"}IOS{/eq}
                        </td>
                        <td>{$val.apply_name}</td>
                        <td>{$val.version_name}</td>
                        <td>{$val.update_time}</td>
                        <td>
                            {:u('/Apply/deleteApply',['apply_id'=>$val['apply_id']],'删除','act','layui-btn-danger layui-btn-sm')}
                        </td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
                <div class="paging">{$page|raw}</div>
            </div>
        </div>
    </div>
</div>